package com.example.d15_homework.homework02;

public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog("大黄", "黄色", 5000);
        dog.eat();
        dog.lookHome();

        System.out.println("----------------------------------");

        Cat cat = new Cat("小花", "蓝色", 3000);
        cat.eat();
        cat.catchMouse();
    }
}
